Method and apparatus for recovering from a failed I/O controller in an information handling system

ABSTRACT

An information handling system includes first and second I/O controllers, a detector for detecting an I/O controller failure, and an I/O recovery unit. The first I/O controller adaptively controls a first and a second I/O slot. The second I/O controller adaptively controls a third and a fourth I/O slot. Lastly, the I/O recovery unit, responsive to a detected I/O controller failure, operatively couples/decouples the first and second I/O slot to/from the first I/O controller, operatively couples/decouples the third and fourth I/O slot to/from the second I/O controller, and operatively decouples/couples the first and second I/O slot from/to the third and fourth I/O slot according to an I/O failure recovery protocol, the I/O failure recovery protocol for adapting one of either the first and second I/O controllers to operatively couple to the first, second, third and fourth I/O slots as a function of the detected I/O controller failure.

BACKGROUND

[0001] The present disclosure relates generally to information handling systems, and more particularly to a method and apparatus for recovering from a failed I/O controller in an information handling system.

[0002] As the value and use of information continues to increase, individuals and businesses seek additional ways to process and store information. One option available to users is information handling systems. An information handling system generally processes, compiles, stores, and/or communicates information or data for business, personal, or other purposes thereby allowing users to take advantage of the value of the information. Because technology and information handling needs and requirements vary between different users or applications, information handling systems may also vary regarding what information is handled, how the information is handled, how much information is processed, stored, or communicated, and how quickly and efficiently the information may be processed, stored, or communicated. The variations in information handling systems allow for information handling systems to be general or configured for a specific user or specific use such as financial transaction processing, airline reservations, enterprise data storage, or global communications. In addition, information handling systems may include a variety of hardware and software components that may be configured to process, store, and communicate information and may include one or more computer systems, data storage systems, and networking systems.

[0003] In conjunction with information handling systems, there is always a need in the enterprise space to increase an availability of servers. That is, a server should be able to run, with failed components, until a service person is able to correct the problem, rather than being rendered offline.

[0004] In one environment, e.g., the Power Edge 8755 server available from Dell Computer of Round Rock, Tex., includes PCI slots located on the server's IO board. The IO board houses two P64H2 PCI bus controllers. If a PCI bus controller fails, then the server will lockup and reboot. Once the server reboots, the failed PCI bus controller will be disabled and any adapters plugged into the slots of the PCI slots will be unable to function. In addition, if the boot device is on the PCI slot connected to the failed PCI bus controller, the server will not boot. Such an occurrence is undesirable.

[0005] In the current generation of servers, there are three methods used to combat a PCI controller failure, as discussed below.

[0006] 1) Adding redundant components to the server system which support failover or adapter teaming can be used to combat a PCI controller failure. However, this approach involves using two of the same PCI adapters connected to the same location in a master-slave configuration coupled with some type of failover or teaming driver. Examples can include redundant NICs, Fibre Channel HBAs, or SCSI RAID controllers. For server offerings sized less than three (3) rack units, there is a finite on the number of PCI slots available in a given system. This lack of adapter space is further magnified by the emergence of blade and brick servers. With this type of space utilization, it becomes difficult to populate two slots for one function. There is just too high a premium on doubling up the number of adapters.

[0007] 2) Microsoft Cluster Server (MSCS) clustering is another method of recovering from a PCI bus failure. With MSCS clustering, however, an identically configured server is connected to the same storage and held in a passive state until the first server encounters a failure. Once any component of the first server fails, all its operations are taken over by the second server. The primary drawback to this scheme, however, is that keeping a duplicate server for use ‘only in the case of an emergency’ can be cost prohibitive. A customer ends up paying 2× for 1× the performance. Furthermore, MSCS clustering is only applicable when using direct-attached-storage.

[0008] 3) Another option is to reboot the server with the failed PCI component disabled. If the boot device or any adapters with connectivity to external media is present on the failed PCI busses, this scheme is rendered useless. Such a method is effective as long as the failed PCI controller didn't house any system-critical devices behind it. If system critical devices are present behind the failed controller, manual reconfiguration of the PCI devices will be necessary to continue worthwhile operations. This highlights the difference between uptime and true high-availability.

[0009]FIG. 1 illustrates a block diagram view of an I/O design for an information handling system known in the art and susceptible to PCI controller failure as discussed herein. The I/O design 10 includes first and second I/O controllers (12, 14). The first I/O controller 12 controls first and second PCI slots (16, 18). The second I/O controller 14 controls first and second PCI slots (20, 22). The bus speeds of the I/O controllers are controlled via respective I/O bus speed strapping inputs (24, 26).

[0010] Accordingly, it would be desirable to provide method and apparatus for booting a server with a failed PCI bus controller, which may or may not have a boot device behind it, absent the disadvantages found in the prior methods discussed above.

SUMMARY

[0011] According to one embodiment of the present disclosure, an information handling system includes first and second I/O controllers, a detector for detecting an I/O controller failure, and an I/O recovery unit. The first I/O controller adaptively controls a first and a second I/O slot. The second I/O controller adaptively controls a third and a fourth I/O slot. Lastly, the I/O recovery unit, responsive to a detected I/O controller failure, operatively couples/decouples the first and second I/O slot to/from the first I/O controller, operatively couples/decouples the third and fourth I/O slot to/from the second I/O controller, and operatively decouples/couples the first and second I/O slot from/to the third and fourth I/O slot according to an I/O failure recovery protocol, the I/O failure recovery protocol for adapting one of either the first and second I/O controllers to operatively couple to the first, second, third and fourth I/O slots as a function of the detected I/O controller failure. A method of I/O controller failure recovery in an information handling system is also disclosed.

BRIEF DESCRIPTION OF THE DRAWINGS

[0012]FIG. 1 illustrates a block diagram view of an I/O design for an information handling system known in the art;

[0013]FIG. 2 illustrates a block diagram view of an information handling system incorporating a method and apparatus for recovering from a failed PCI controller according to an embodiment of the present disclosure;

[0014]FIG. 3 illustrates a block diagram view of an I/O failure recovery method and apparatus in a normal state according to one embodiment of the present disclosure;

[0015]FIG. 4 illustrates a block diagram view of the I/O failure recovery method and apparatus in a fail state according to one embodiment of the present disclosure; and

[0016]FIG. 5 shows a flow chart of the I/O failure recovery according to one embodiment of the present disclosure.

DETAILED DESCRIPTION

[0017] According to one embodiment of the present disclosure, a method and system apparatus are disclosed for recovering from a failed I/O controller in an information handling system. The method and system can be better understood by reference to the flow charts, drawing figures, and additional discussion included herein.

[0018]FIG. 2 depicts a high level block diagram of an information handling system 100 in which the disclosed technology is practiced. For purposes of this disclosure, an information handling system may include any instrumentality or aggregate of instrumentalities operable to compute, classify, process, transmit, receive, retrieve, originate, switch, store, display, manifest, detect, record, reproduce, handle, or utilize any form of information, intelligence, or data for business, scientific, control, or other purposes. For example, an information handling system may be a personal computer, a network storage device, or any other suitable device and may vary in size, shape, performance, functionality, and price. The information handling system may include random access memory (RAM), one or more processing resources such as a central processing unit (CPU) or hardware or software control logic, ROM, and/or other types of nonvolatile memory. Additional components of the information handling system may include one or more disk drives, one or more network ports for communicating with external devices as well as various input and output (I/O) devices, such as a keyboard, a mouse, and a video display. The information handling system may also include one or more buses operable to transmit communications between the various hardware components.

[0019] In particular, the system block diagram of FIG. 2 illustrates an information handling system 100 that includes a central processing unit (CPU) 110, memory 120, disk drives 130, such as a hard disk drive, a floppy disk drive, a CD-ROM drive, or other storage devices, and input/output (I/O) devices, such as a display, a keyboard, a mouse, and associated controllers, collectively designated by a reference numeral 140. System 100 further includes one or more subsystems, such as a network interface card, PCI controllers and I/O, collectively designated by a reference numeral 150, all interconnected via one or more buses, shown collectively as a bus 160. Information handling system 100 includes I/O failure recovery as further discussed herein below with respect to FIGS. 3-5.

[0020] Referring now to FIG. 3, according to one embodiment of the present disclosure, an I/O design with failure recovery, generally indicated by reference numeral 200, includes first and second I/O controllers 202 and 204. The first I/O controller 202 controls first and second PCI slots (206, 208). The second I/O controller 204 controls third and fourth PCI slots (210, 212). The bus speeds of the I/O controllers are controlled via respective I/O bus speed strapping inputs (214, 216). In addition, the I/O design includes a number of quick-switches (218, 220, and 222).

[0021] Most PCI or PCI-X controllers function such that they can operate at multiple speeds. A PCI controller may have one to four slots per channel. The speeds currently range from 33 MHz to 133 MHz. In one embodiment of the present disclosure, an information handling system server includes 6 PCI-X slots having been architected with two instances each of one PCI-X slot per bus segment operating at speeds up to 133 MHz and two PCI-X slots per bus segment operating at speeds up to 100 MHz. Quick-switches (218, 220, and 222) are coupled between elements on different PCI bus segments, as shown in FIG. 3 and as discussed further herein below. In FIG. 3, only two PCI bus segments are shown for simplicity.

[0022] Each quick-switch includes a switch control input, operative to open a respective switch or close the respective switch. Switch control inputs of switches 218, 220, and 222 are identified via reference numerals 224, 226, and 228, respectively. Switch control inputs can include, for example, a GPIO port controlled via a system BIOS or a programmable logic device (PLD).

[0023] According to one embodiment, the BIOS and/or firmware of the information handling system is configured to reboot the system in response to a failure of an I/O controller. Rebooting of the system causes a power on self test (POST) to be executed. The POST includes executable instructions for an implementing an auto-bus scan. The auto-bus scan scans the I/O buses and switches for learning all permutations of failures and storing the learned permutations in a register. For example, the auto-bus scan may determine that there are two I/O controllers, one controller having one device at 100 MHz and the other controller having four devices at 66 MHz. If the POST routine detects and/or witnesses a failure, then the POST routine executes a particular permutation to recover from the I/O failure in response to a specific occurrence of an I/O controller failure. In particular, the POST instructs the switches to open/close, for example, via a GPIO output or PLD output, as required for the recovery from a given I/O failure, further as discussed herein with respect to FIGS. 3-5.

[0024] With reference again to FIG. 3, in operation, in a first state, switch control input 224 operates to place quick-switch 218 in an opened state. Responsive to being placed in the opened state, quick-switch 218 decouples the IO controller 202 from IO slots 206 and 208. In a second state, switch control input 224 operates to place quick-switch 218 in a closed state. Responsive to being placed in the closed state, quick-switch 218 couples the IO controller 202 to IO slots 206 and 208. In a similar manner, quick-switch 220 operates to couple/decouple IO slots 206, 208 to/from IO slots 210, 212 in response to a switch control input on input 226. Furthermore, quick-switch 222 operates to couple/decouple 10 controller 204 to/from IO slots 210, 212 in response to a switch control input on input 228.

[0025] Referring still to FIG. 3, the block diagram view illustrates the I/O failure recovery method in a normal state according to one embodiment of the present disclosure. In particular, in the normal state, IO controllers 202 and 204 are both operational and operating with a respective I/O bus speed in response to corresponding I/O bus speed strapping inputs 214 and 216, respectively. Quick-switches 218 and 222 are each placed in a closed position in response to respective switch control inputs 224 and 228. In addition, quick-switch 220 is placed in an open position in response to switch control input 226. Accordingly, I/O controller 202 is operatively coupled to I/O slots 206 and 208. Similarly, I/O controller 204 is operatively coupled to I/O slots 210 and 212. Lastly, I/O slots 206 and 208 are not operatively coupled to I/O slots 210 and 212 in the normal state of operation.

[0026] Referring now to FIG. 4, the block diagram view illustrates the I/O failure recovery method in a failed state according to one embodiment of the present disclosure. In particular, in the failed state, assume that IO controller 202 has failed and IO controller 204 is operational. As will be explained further in connection with FIG. 5, the various elements are placed in the following states. Quick-switch 218 is placed in an open position in response to a switch control input 224. Quick-switch 222 is placed in a closed position in response to switch control input 228. In addition, quick-switch 220 is placed in a closed position in response to switch control input 226. Accordingly, I/O controller 202 is operatively decoupled from I/O slots 206 and 208. I/O controller 204 is operatively coupled to I/O slots 210 and 212, in addition to being operatively coupled to I/O slots 206 and 208 via quick-switch 220.

[0027] In other words, I/O slots 206 and 208 are operatively coupled to I/O slots 210 and 212 in the failed state of this example. In addition, the I/O bus speed is controlled in response to a corresponding I/O bus speed strapping input 216 of I/O controller 204.

[0028] Further in connection with FIG. 4, steps to recover I/O slots 206 and 208 after an I/O controller failure of I/O controller 202 include rebooting the system. Quick switch 218 is turned off. Quick switch 220 is turned on. A lowest I/O bus speed for the PCI slots is selected, via a GPIO controlled by a system BIOS or a PLD. Lastly, I/O controller 204 operatively couples with I/O slots 210, 212 and slots is 206, 208 via quick switches 222 and 220, respectively.

[0029] Turning now to FIG. 5, the method of I/O failure recovery according to one embodiment of the present disclosure will be further discussed in connection with the flowchart 300. The I/O failure recovery process begins at 302 and proceeds to step 304. At step 304, a query is made as to whether I/O controller 1 (202) has failed. If I/O controller 1 has failed, then the process proceeds to step 306. At step 306, a query is made as to whether I/O controller 2 (204) has failed. If I/O controller 2 has failed, then the process proceeds to step 308, where neither of I/O controller 1 or 2 are operational, and the process ends.

[0030] Returning to step 304, if I/O controller 1 has not failed, then the process proceeds to step 310. At step 310, a query is made as to whether I/O controller 2 (204) has failed. If, at step 310, I/O controller 2 has failed, then the process proceeds to step 312. At step 312, quick-switch 222 is controlled by switch input 228 to be in a opened state. Next, at step 314, quick-switches 218 and 220 are controlled by respective switch inputs 224, 226 to be in a closed state. Next, at step 316, I/O controller 1 (202) is controlled by I/O bus speed strapping input 214 to be at a half bus speed. The process then ends at step 318.

[0031] Returning again to step 310, if I/O controller 2 has not failed, then the process proceeds to step 320. At step 320, quick-switches 218 and 222 are controlled by switch inputs 224 and 228, respectively, to be in a closed state. Next, at step 322, quick-switch 220 is controlled by switch input 226 to be in an opened state. Next, at step 324, I/O controller 1 (202) and I/O controller 2 (204) are controlled by respective I/O bus speed strapping inputs 214 and 216 to be at a full bus speed. The process then ends at step 318.

[0032] Returning again to step 306, if I/O controller 2 (204) has not failed, then the process proceeds to step 326. At step 326, quick-switch 218 is controlled by switch input 224 to be in a opened state. Next, at step 328, quick-switches 220 and 222 are controlled by respective switch inputs 226, 228 to be in a closed state. Next, at step 330, I/O controller 2 (204) is controlled by I/O bus speed strapping input 216 to be at a half bus speed. The process then ends at step 318.

[0033] In response to a failure of a PCI controller, the information handling system performs a reboot. At the time of the system reboot, the quick switches actuate as discussed herein. In addition, the failed controller's PCI devices (i.e., connected via corresponding I/O slots) are controlled by the surviving PCI controller present in the system. For example, the failed controller's PCI devices can be controlled by the surviving PCI controller according to the I/O failure recovery process as discussed in connection with the flowchart 300 of FIG. 5.

[0034] With one embodiment of the present disclosure, the new PCI bus configuration operates at non-optimal speeds. In addition, while the overall system is placed in a critically degraded state, any problem of losing system critical resources is resolved.

[0035] Although only a few exemplary embodiments have been described in detail above, those skilled in the art will readily appreciate that many modifications are possible in the exemplary embodiments without materially departing from the novel teachings and advantages of the embodiments of the present disclosure. Accordingly, all such modifications are intended to be included within the scope of the embodiments of the present disclosure as defined in the following claims. In the claims, means-plus-function clauses are intended to cover the structures described herein as performing the recited function and not only structural equivalents, but also equivalent structures. 

What is claimed is:
 1. An information handling system comprising: a first I/O controller adapted to control a first and a second I/O slot; a second I/O controller adapted to control a third and a fourth I/O slot; means for detecting an I/O controller failure; and means, responsive to a detected I/O controller failure, for operatively coupling/decoupling the first and second I/O slot to/from said first I/O controller, for operatively coupling/decoupling the third and fourth I/O slot to/from said second I/O controller, and for operatively decoupling/coupling the first and second I/O slot from/to the third and fourth I/O slot according to an I/O failure recovery protocol, the I/O failure recovery protocol for adapting one of either said first and second I/O controllers to operatively couple to the first, second, third and fourth I/O slots as a function of the detected I/O controller failure.
 2. The information handling system of claim 1, wherein said first I/O controller includes an I/O bus speed strapping input configured to control a bus speed of a first I/O bus, and wherein said second I/O controller includes an I/O bus speed strapping input configured to control a bus speed of a second I/O bus, and wherein the I/O failure recovery protocol further operates to control the I/O bus speed of the first, second, third and fourth I/O slots as a function of the detected I/O controller failure and one of the I/O bus speed strapping inputs of said first and second I/O controllers.
 3. The information handling system of claim 2, wherein the I/O bus speed includes a bus speed on the order of one half the speed of an I/O bus speed strapping input.
 4. The information handling system of claim 1, wherein said means for detecting the I/O controller failure includes a power on self test (POST) routine.
 5. The information handling system of claim 4, wherein the POST routine includes executable code for an implementing an auto-bus scan, the auto-bus scan for scanning the I/O controllers and switches to learn all permutations of failures and store the learned permutations.
 6. The information handling system of claim 5, wherein responsive to a detection of an I/O controller failure, the POST routine executes a permutation to recover from the I/O controller failure.
 7. The information handling system of claim 6, wherein said means for operatively coupling/decoupling the first and second I/O slot to/from said first I/O controller, for operatively coupling/decoupling the third and fourth I/O slot to/from said second I/O controller, and for operatively decoupling/coupling the first and second I/O slot from/to the third and fourth I/O slot according to an I/O failure recovery protocol includes first, second and third switches, respectively.
 8. The information handling system of claim 7, further wherein the POST routine instructs the first, second, and third switches to open/close via at least one selected from the group consisting of a GPIO output and a PLD output.
 9. The information handling system of claim 1, wherein said means for operatively coupling/decoupling the first and second I/O slot to/from said first I/O controller, for operatively coupling/decoupling the third and fourth I/O slot to/from said second I/O controller, and for operatively decoupling/coupling the first and second I/O slot from/to the third and fourth I/O slot according to an I/O failure recovery protocol includes first, second and third switches, respectively.
 10. The information handling system of claim 9, wherein the first switch includes a switch control input, wherein responsive to a first input, the first switch operates to couple the first and second I/O slot to said first I/O controller and wherein responsive to a second input, the first switch operates to decouple the first and second I/O slot from said first I/O controller.
 11. The information handling system of claim 9, wherein the second switch includes a switch control input, wherein responsive to a first input, the second switch operates to couple the third and fourth I/O slot to said second I/O controller and wherein responsive to a second input, the second switch operates to decouple the third and fourth I/O slot from said first I/O controller.
 12. The information handling system of claim 9, wherein the third switch includes a switch control input, wherein responsive to a first input, the third switch operates to decouple the first and second I/O slots from the third and fourth I/O slots and wherein responsive to a second input, the third switch operates to couple the first and second I/O slots to the third and fourth I/O slots.
 13. An information handling system comprising: a first I/O controller adapted to control a first and a second I/O slot; a second I/O controller adapted to control a third and a fourth I/O slot; a power on self test (POST) routine for detecting an I/O controller failure; and switching means, responsive to a detected I/O controller failure, for operatively coupling/decoupling the first and second I/O slot to/from said first I/O controller, for operatively coupling/decoupling the third and fourth I/O slot to/from said second I/O controller, and for operatively decoupling/coupling the first and second I/O slot from/to the third and fourth I/O slot according to an I/O failure recovery protocol, the I/O failure recovery protocol for adapting one of either said first and second I/O controllers to operatively couple to the first, second, third and fourth I/O slots as a function of the detected I/O controller failure.
 14. The information handling system of claim 13, wherein the POST routine includes executable code for an implementing an auto-bus scan, the auto-bus scan for scanning the I/O controllers and switches to learn all permutations of failures and store the learned permutations, wherein responsive to a detection of an I/O controller failure, the POST routine executes a permutation to recover from the I/O controller failure.
 15. The information handling system of claim 13, wherein said switching means for operatively coupling/decoupling the first and second I/O slot to/from said first I/O controller, for operatively coupling/decoupling the third and fourth I/O slot to/from said second I/O controller, and for operatively decoupling/coupling the first and second I/O slot from/to the third and fourth I/O slot according to an I/O failure recovery protocol includes first, second and third switches, respectively.
 16. A method for recovering from a failed I/O controller in an information handling system, said method comprising: adapting a first I/O controller to control a first and a second I/O slot; adapting a second I/O controller to control a third and a fourth I/O slot; detecting an I/O controller failure of one of the first and second I/O controllers; and responsive to a detected I/O controller failure, operatively coupling/decoupling the first and second I/O slot to/from the first I/O controller, operatively coupling/decoupling the third and fourth I/O slot to/from the second I/O controller, and operatively decoupling/coupling the first and second I/O slot from/to the third and fourth I/O slot according to an I/O failure recovery protocol, the I/O failure recovery protocol for adapting one of either the first and second I/O controllers to operatively couple to the first, second, third and fourth I/O slots as a function of the detected I/O controller failure.
 17. The method of claim 16, wherein the first I/O controller includes an I/O bus speed strapping input configured to control a bus speed of a first I/O bus, and wherein the second I/O controller includes an I/O bus speed strapping input configured to control a bus speed of a second I/O bus, and wherein the I/O failure recovery protocol further operates to control the I/O bus speed of the first, second, third and fourth I/O slots as a function of the detected I/O controller failure and one of the I/O bus speed strapping inputs of the first and second I/O controllers.
 18. The method of claim 17, wherein the I/O bus speed includes a bus speed on the order of one half the speed of an I/O bus speed strapping input.
 19. The method of claim 16, wherein detecting the I/O controller failure includes executing a power on self test (POST) routine.
 20. The method of claim 19, wherein the POST routine includes executable code for an implementing an auto-bus scan, the auto-bus scan for scanning the I/O controllers and switches to learn all permutations of failures and store the learned permutations.
 21. The method of claim 20, wherein responsive to a detection of an I/O controller failure, the POST routine executes a permutation to recover from the I/O controller failure.
 22. The method of claim 21, wherein operatively coupling/decoupling the first and second I/O slot to/from the first I/O controller, operatively coupling/decoupling the third and fourth I/O slot to/from the second I/O controller, and operatively decoupling/coupling the first and second I/O slot from/to the third and fourth I/O slot according to an I/O failure recovery protocol includes utilizing first, second and third switches, respectively.
 23. The method of claim 16, wherein operatively coupling/decoupling the first and second I/O slot to/from the first I/O controller, operatively coupling/decoupling the third and fourth I/O slot to/from the second I/O controller, and operatively decoupling/coupling the first and second I/O slot from/to the third and fourth I/O slot according to an I/O failure recovery protocol includes using first, second and third switches, respectively.
 24. A method for recovering from a failed I/O controller in an information handling system, said method comprising: adapting a first I/O controller to control a first and a second I/O slot; adapting a second I/O controller to control a third and a fourth I/O slot; providing a power on self test (POST) routine for detecting an I/O controller failure; and providing switching means, responsive to a detected I/O controller failure, for operatively coupling/decoupling the first and second I/O slot to/from the first I/O controller, for operatively coupling/decoupling the third and fourth I/O slot to/from the second I/O controller, and for operatively decoupling/coupling the first and second I/O slot from/to the third and fourth I/O slot according to an I/O failure recovery protocol, the I/O failure recovery protocol for adapting one of either the first and second I/O controllers to operatively couple to the first, second, third and fourth I/O slots as a function of the detected I/O controller failure.
 25. The method of claim 24, wherein the POST routine includes executable code for an implementing an auto-bus scan, the auto-bus scan for scanning the I/O controllers and switches to learn all permutations of failures and store the learned permutations, wherein responsive to a detection of an I/O controller failure, the POST routine executes a permutation to recover from the I/O controller failure.
 26. The method of claim 24, wherein a first switch operatively couples/decouples the first and second I/O slot to/from the first I/O controller, a second switch operatively couples/decouples the third and fourth I/O slot to/from the second I/O controller, a third switch operatively decouples/couples the first and second I/O slot from/to the third and fourth I/O slot according to an I/O failure recovery protocol. 